//
//  ZLAVConfig.h
//  Video
//
//  Created by os on 2021/3/29.
//

#import <Foundation/Foundation.h>

@interface ZLAVConfig : NSObject

+ (instancetype)defaultConfig;

@end

/// 音频配置
@interface ZLAudioConfig : ZLAVConfig

/// 码率
@property (nonatomic, assign) NSInteger bitrate;
/// 声道
@property (nonatomic, assign) NSInteger channelCount;
/// 采样率
@property (nonatomic, assign) NSInteger sampleRate;
/// 采样点量化
@property (nonatomic, assign) NSInteger sampleSize;

@end

/// 视频配置
@interface ZLVideoConfig : ZLAVConfig

/// 分辨率-宽
@property (nonatomic, assign) NSInteger width;
/// 分辨率-高
@property (nonatomic, assign) NSInteger height;
/// 比特率
@property (nonatomic, assign) NSInteger bitrate;
/// fps
@property (nonatomic, assign) NSInteger fps;

@end
